<template>
	<view class="about">
		<!-- <view v-if="hasLogin"> -->
		<!-- 导航 -->
		<!-- <u-navbar back-icon-color="#000000" title="关于我们" title-color="#3F3F3F" :title-bold="true" :background="background"></u-navbar> -->
		<u-navbar back-text="关于我们" :back-text-style="textStyle" back-icon-color="#000000" style="font-weight: bold;font-family: PingFang SC;"></u-navbar>
		<!-- end -->
		<view class="middle">
			<view class="icon">
				<image src="https://beedao.oss-cn-beijing.aliyuncs.com/afb5981137704e6a80470e12605e0f6c.png" mode=""></image>
				<view class="write">
					关于我们
				</view>
				<view class="banben">
					最新版本：{{version_number?version_number:'1.0.75'}}
				</view>
				<view class="time">
					发布时间：2021.1.20
				</view>
			</view>
		</view>
		<view class="footer">
			<view class="one">
			必到平台软件许可及服务协议     必到隐私协议
			</view>
			<view class="two">
				必到平台版权所有
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				background:{
					backgroundColor: '#fca800',
				},
				version_number:null,
			};
		},
		onLoad() {
			const accountInfo = uni.getAccountInfoSync();
			console.log(accountInfo)
			this.version_number = accountInfo.miniProgram.version 
		},
		onShow() {
		},
		methods: {
			
		}
	};
</script>

<style scoped lang="scss">
	
	.icon {
		padding: 166rpx 244rpx;
		text-align: center
	}

	.icon image {
		width: 87px;
		height: 87px;
	}

	.write,
	.banben
	{
		font-family: PingFang SC;
		font-weight: 400;
	}

	.write,
	.banben {
		color: #666666;
	}

	.write {
		font-size: 36rpx;
	}

	.banben {
		font-size: 30rpx;
		padding-top: 44rpx;
	}

	.time {
		color: #979797;
		font-size: 26rpx;
		padding-top: 16rpx;
		font-weight: bold;
	}
	.footer{
		padding: 440rpx 100rpx 64rpx 100rpx;text-align: center;font-size: 26rpx;font-weight: 400;
		font-family: PingFang SC;
	}
	.footer .one{
		color: #0068B1;
	}
	.footer .two{
		color: #979797;padding-top: 12rpx;
	}
</style>
